﻿<div class="container">
		<h1>Add Item</h1>
<?php     

echo form_open(current_url()); ?>
		<div id = "top_reserve">
			<div id = "opt_box">
			</div> <!-- end opt_box -->
			<div id = "add_new">
			<p>
        <?php echo form_submit( 'submit', 'Save'); ?>
		<?php 
		$data = array(
			'name' => 'button_cancel',
			'id' => 'button_cancel',
			'value' => 'true',
			'type' => 'button',
			'content' => 'Cancel',
			'onclick'=>"history.go(-1);return false;"
		);

		echo form_button($data);
		?>
</p>
			</div> <!-- end add_new -->
		</div> <!-- end top_reserve -->
<div style="width:500px;margin:0 auto;">
<?php // echo $custom_error; ?>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Personal_ID">Personal_ID</label>                                
                <input id="Personal_ID" type="text" name="Personal_ID" value="<?php echo set_value('Personal_ID'); ?>"  />
                <?php echo form_error('Personal_ID','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Promo_ID">Promo_ID</label>                                
                <input id="Promo_ID" type="text" name="Promo_ID" value="<?php echo set_value('Promo_ID'); ?>"  />
                <?php echo form_error('Promo_ID','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Create_Dt">Create_Dt</label>                                
                <input id="Create_Dt" type="text" name="Create_Dt" value="<?php echo set_value('Create_Dt'); ?>"  />
                <?php echo form_error('Create_Dt','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Money">Money</label>                                
                <input id="Money" type="text" name="Money" value="<?php echo set_value('Money'); ?>"  />
                <?php echo form_error('Money','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Completed">Completed</label>                                
                <input id="Completed" type="text" name="Completed" value="<?php echo set_value('Completed'); ?>"  />
                <?php echo form_error('Completed','<div>','</div>'); ?>
                </p></span></div>
<?php echo form_close(); ?>
		</div>